package com.ruoyi.comn.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 销售人员管理对象 comn_salesperson
 * 
 * @author ruoyi
 * @date 2021-11-25
 */
public class ComnSalesperson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String salespersonUuid;

    /** 序号 */
    @Excel(name = "序号")
    private Long orderNum;

    /** 销售人员(关联用户表) */
    @Excel(name = "销售人员(关联用户表)")
    private Long fkUserId;

    /** 销售人员 */
    @Excel(name = "销售人员")
    private String salesPerson;

    /** 状态（正常、停用，字典表） */
    @Excel(name = "状态", readConverterExp = "正=常、停用，字典表")
    private String sysNormalDisable;

    /** 单据标题 */
    @Excel(name = "单据标题")
    private String docTitle;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String docNum;

    /** 单据时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "单据时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date docDt;

    /** 备注 */
    @Excel(name = "备注")
    private String docNote;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date confirmDt;

    /** 审核状态（字典表） */
    @Excel(name = "审核状态", readConverterExp = "字=典表")
    private String oaDictConfirmResult;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String confirmNote;

    public void setSalespersonUuid(String salespersonUuid) 
    {
        this.salespersonUuid = salespersonUuid;
    }

    public String getSalespersonUuid() 
    {
        return salespersonUuid;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setFkUserId(Long fkUserId) 
    {
        this.fkUserId = fkUserId;
    }

    public Long getFkUserId() 
    {
        return fkUserId;
    }

    public String getSalesPerson() {
        return salesPerson;
    }

    public void setSalesPerson(String salesPerson) {
        this.salesPerson = salesPerson;
    }

    public void setSysNormalDisable(String sysNormalDisable)
    {
        this.sysNormalDisable = sysNormalDisable;
    }

    public String getSysNormalDisable() 
    {
        return sysNormalDisable;
    }
    public void setDocTitle(String docTitle) 
    {
        this.docTitle = docTitle;
    }

    public String getDocTitle() 
    {
        return docTitle;
    }
    public void setDocNum(String docNum) 
    {
        this.docNum = docNum;
    }

    public String getDocNum() 
    {
        return docNum;
    }
    public void setDocDt(Date docDt) 
    {
        this.docDt = docDt;
    }

    public Date getDocDt() 
    {
        return docDt;
    }
    public void setDocNote(String docNote) 
    {
        this.docNote = docNote;
    }

    public String getDocNote() 
    {
        return docNote;
    }
    public void setConfirmDt(Date confirmDt) 
    {
        this.confirmDt = confirmDt;
    }

    public Date getConfirmDt() 
    {
        return confirmDt;
    }
    public void setOaDictConfirmResult(String oaDictConfirmResult) 
    {
        this.oaDictConfirmResult = oaDictConfirmResult;
    }

    public String getOaDictConfirmResult() 
    {
        return oaDictConfirmResult;
    }
    public void setConfirmNote(String confirmNote) 
    {
        this.confirmNote = confirmNote;
    }

    public String getConfirmNote() 
    {
        return confirmNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("salespersonUuid", getSalespersonUuid())
            .append("orderNum", getOrderNum())
            .append("fkUserId", getFkUserId())
            .append("sysNormalDisable", getSysNormalDisable())
            .append("docTitle", getDocTitle())
            .append("docNum", getDocNum())
            .append("docDt", getDocDt())
            .append("docNote", getDocNote())
            .append("confirmDt", getConfirmDt())
            .append("oaDictConfirmResult", getOaDictConfirmResult())
            .append("confirmNote", getConfirmNote())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
